package com.ds.smartstudio.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ds.smartstudio.entity.Area;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yangsf
 * @since 2022-07-02 10:42:24
 */
@Mapper
public interface AreaMapper extends BaseMapper<Area> {
    @Select("select count(ds_area_name) from ds_area where ds_area_name like CONCAT('%',#{name},'%')")
    Integer selectTotalByName(String name);
}
